﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="FailCategorybyTimeCID.aspx.cs" Inherits="ViewbyProduct_FailCategorybyTimeCID"
    Title="无标题页" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script type="text/javascript" src="../../js/my97datepicker/WdatePicker.js"></script>

    <div>
        <br />
        <asp:UpdatePanel ID="UpdatePanel3" runat="server">
            <ContentTemplate>
                <div>
                    客户名称：<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" Width="164px">
                    </asp:DropDownList>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <br />
        <div>
            <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                <ContentTemplate>
                    <div style="float: left;">
                        <table style="vertical-align: text-top;">
                            <tr>
                                <td style="height: 29px;">
                                    起始时间：
                                </td>
                                <td style="height: 29px;">
                                    <input type="text" runat="server" id="TextBox1" onfocus="WdatePicker({startDate:'%y-%M-%d 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                                        ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                                </td>
                                <td style="height: 29px;">
                                    终止时间：
                                </td>
                                <td style="height: 29px;">
                                    <input type="text" runat="server" id="TextBox2" onfocus="WdatePicker({startDate:'%y-%M-%d 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
                                        ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                        </table>
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
            <div style="float: left">
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="查  询" />
            </div>
        </div>
        <div style="float: left; clear: left">
            <br />
            <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True"
                PageToTreeRatio="401" Height="400px" Width="800px" ReuseParameterValuesOnRefresh="True"
                BestFitPage="False" ReportSourceID="CrystalReportSource1" />
            <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
            </CR:CrystalReportSource>
        </div>
        <br />
        <div style="float: left; clear: left">
            <CR:CrystalReportViewer ID="CrystalReportViewer2" runat="server" AutoDataBind="true"
                Height="650px" Width="1000px" BestFitPage="False" PageToTreeRatio="1001" PageZoomFactor="125"
                ReuseParameterValuesOnRefresh="True" ReportSourceID="CrystalReportSource2" />
            <CR:CrystalReportSource ID="CrystalReportSource2" runat="server">
            </CR:CrystalReportSource>
        </div>
        <br />
        <br />
    </div>
    </div>
</asp:Content>
